package com.wpre.springconfigs.controller;

import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Controller;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: LianBao
 * Date: 2024-10-28
 * Time: 14:59
 */
@Controller("LianBao")
public class UserController {

    public void Fun(){
        System.out.println("UserController");
    }


    @Bean
    public User UserInfo(){
        return new User();
    }

}
